<!--
 * @Author: 黑白灰01 3193273703@qq.com
 * @Date: 2025-01-27 10:13:39
 * @LastEditors: 黑白灰01 3193273703@qq.com
 * @LastEditTime: 2025-02-07 17:46:27
 * @FilePath: /hei_picture_web/src/App.vue
-->
<template>
  <a-config-provider
    :locale="zhCN"
    :theme="{
      token: {
        colorPrimary: '#8153ff',
        colorPrimaryHover: '#6e47d9',
        colorPrimaryActive: '#a16e9e',
        colorBorder: '#8153ff',
      },
    }"
  >
    <RouterView />
  </a-config-provider>
</template>
<script setup lang="ts">
import { RouterView } from 'vue-router'
import { useLoginUserStore } from './stores/useLoginUserStore'
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import 'dayjs/locale/zh-cn'
import dayjs from 'dayjs'
dayjs.locale('zh-cn')
const loginUserStore = useLoginUserStore()
loginUserStore.fetchLoginUserInfo()
</script>

<style lang="scss"></style>
